﻿using UnityEngine;
using System.Collections;

public static class GameEvents {
	public delegate void GameEvent();
	
	public static event GameEvent GameStart, GameOver;
	
	public static void TriggerGameStart()
	{
		if (GameStart != null)
			GameStart ();
	}
	public static void TriggerGameOver()
	{
		if (GameOver != null)
			GameOver ();
	}
}
